package basic;

import java.util.*;

/**
 * @Author: 海琳琦
 * @Date: 2021/9/8 14:57
 */
public class Title217 {
    public static void main(String[] args) {

    }

    private static boolean containsDuplicate(int[] nums) {
        Arrays.sort(nums);
        for (int i = 0; i < nums.length-1; i++) {
            if(nums[i]==nums[i+1]){
                return true;
            }
        }
        return false;
    }
}
